#!/bin/sh
### ====================================================================== ###
##                                                                          ##
##                                                                          ##
##                                                                          ##
### ====================================================================== ###


echo "### ====================== ###"
echo "deploy vasms.war              "
echo "### ====================== ###"
cp /home/maven/repository/com/coship/vasms/vasms-webapp/2.0/vasms-webapp-2.0.war $JBOSS_HOME/server/default/deploy/vasms.war

sleep 2


echo "### ====================== ###"
echo "deploy vasms-oss.war          "
echo "### ====================== ###"
cp /home/maven/repository/com/coship/vasms/vasms-oss/2.0/vasms-oss-2.0.war $JBOSS_HOME/server/default/deploy/vasms-oss.war

sleep 2


echo "### ====================== ###"
echo "start jboss server            "
echo "### ====================== ###"
cd $JBOSS_HOME/bin
run.sh -b 172.30.40.217 &


